﻿package  
{
	
	/**
	 * ...
	 * @author ...
	 */
	public class cartesian 
	{
		public var x:Number;
		public var y:Number;
		
		public function cartesian(x:Number, y:Number) 
		{
				this.x = x;
				this.y = y;
		}
		
		public function toScreen(cam:camera):cartesian
		{
			return (new cartesian((this.x - cam.pos.x) * cam.zoom + 250, (this.y - cam.pos.y) * cam.zoom + 200));
		}
    
		
		
	}
	
}